package com.ruoyi.sj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;

/**
 * 银行卡绑定表 sj_bank_card
 * 
 * @author tyc@yanyu.com
 * @date 2018-11-28
 */
public class BankCard extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long id;

	/** 用户id */
	private Long memberId;
	/** 姓名 */
	private String name;
	/** 银行卡号 */
	private String bankCardNum;
	/** 银行卡类型（什么银行） */
	private String type;
	/** 持卡人姓名 */
	private String cardHolder;
	/** 电话 */
	private Long phone;
	/** 身份证号码 */
	private String cardNumber;
	/** 创建人 */
	private String createBy;
	/** 绑定时间 */
	private String createDate;
	/** 修改人 */
	private String updateBy;
	/** 修改时间 */
	private String updateDate;
	/** 备注 */
	private String remark;

	/*用户名*/
	private String userName;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setMemberId(Long memberId) 
	{
		this.memberId = memberId;
	}

	public Long getMemberId() 
	{
		return memberId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setBankCardNum(String bankCardNum) 
	{
		this.bankCardNum = bankCardNum;
	}

	public String getBankCardNum() 
	{
		return bankCardNum;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setCardHolder(String cardHolder) 
	{
		this.cardHolder = cardHolder;
	}

	public String getCardHolder() 
	{
		return cardHolder;
	}
	public void setPhone(Long phone) 
	{
		this.phone = phone;
	}

	public Long getPhone() 
	{
		return phone;
	}
	public void setCardNumber(String cardNumber) 
	{
		this.cardNumber = cardNumber;
	}

	public String getCardNumber() 
	{
		return cardNumber;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setUpdateBy(String updateBy)
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setRemark(String remark)
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(String updateDate) {
		this.updateDate = updateDate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("name", getName())
            .append("bankCardNum", getBankCardNum())
            .append("type", getType())
            .append("cardHolder", getCardHolder())
            .append("phone", getPhone())
            .append("cardNumber", getCardNumber())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
